@import url("mixins.less");

@header_color_start: rgb(64, 150, 238);
@header_color_stop: rgb(64, 150, 238);
@preferred_gray: rgb(221, 221, 221);
@dark_gray: rgb(128, 128, 128);
@data_width: 166px;
@data_height: 236px;

@primary_font: Helvetica Neue, Arial, sans-serif;
@secondary_font: Tahoma, Geneva, sans-serif;

body {
}

/* Helper styles */
.light {
	background-color: rgba(225, 225, 255, 0.25);
}

.dark {
	background-color: rgba(200, 200, 255, 0.25);
}

.noblock {
	display: inline-block;
}

.right {
	float: right;
}

.clear_div {
	clear: both;
}

body {
	.background-gradient(rgb(241, 241, 241), white);
}

/* Header styles */
.nav_item {
	padding-right: 1em;
	padding-left: 1em;
	border-right: @preferred_gray solid 1px;
}

.last_item {
	border-right: none;
}

div.header {
	height: 90px;
	z-index: 1;

	position: relative;
	width: 100%;
	top: 0px;

	a {
		.text-style-small(@secondary_font);
  		text-decoration: none;
		color: gray;
	}
	
	#header_title {
		margin: 25px auto 0 auto;
		display: inline-block;
		z-index: 1;
	}
	
	#header_nav {
		position: relative;
		margin: 49px auto 0 auto;
		display: inline-block;
		float: right;
	}

	#header_wrapper {
		width: 90%;
		margin: auto;
	}
	
	img {
		width: 252px;
		height: 57px;
		display: inline-block;

		/*.box-reflect(-26px);*/		 
	}
}

#header_container {
	margin-bottom: 2em;
	/*border-bottom: @preferred_gray solid 1px;
	
	 .box-shadow(0px, 0px, 5px, black);
	.background-gradient(@header_color_start, @header_color_stop); */
}

/* End header styles */

/* Content styles */
div.status_message_container {
	display: none;
	z-index: 2;
	text-align: center;
	
	background: @preferred_gray;
	border: @dark_gray 1px solid;
	
	position: fixed;
 	top: -100px;
 	width: 100%;
 	
 	margin: auto;
 	padding: 10px 10px;
	
	.box-shadow(0px, 1px, 2px, black);

	h3 {
		color: black;
		.text-style-medium(@primary_font);
		.text-shadow;
		font-weight: bold;
	}
}

input.user_input {
	.alternate-text;
	
	padding: 0.5em;
	border: @preferred_gray 1px solid;
}

div.content_container {
	position: relative;
	margin: auto;

	width: 90%;
	min-height: 400px;
	
	z-index:0;
}

div.inner_container {
	margin: 1em;
}

div.content_rect {
	width: 75%;
	margin: auto;
	min-height: 500px;
	z-index: 0;
}

/* Section styles */
div.section_container {
	width: 100%;
	height: 350px;
	
	margin-top: 1em;
	margin-bottom: 2em;
	
	border-top: @preferred_gray solid 1px;
	/*border-bottom: @preferred_gray solid 1px;*/
}

div.section_title {
	width: 30%;
	padding: 10px;
	
	color: black;

	h1, h2, h3 {
		.text-style-large(@primary_font);
		display: inline-block;
	}
}

/* User navigation */
img.user_nav_menu {
	cursor: pointer;
	width: 1.5em;
	height: 1.5em;
}

div.user_nav_container {
	width: 100%;
}

div.user_nav {
	position: relative;
	float: right;
	padding: 0.5em;
	padding-right: 0;
	display: inline-block;
	
	h3 {
		.text-style-small(@secondary_font);
		display: inline-block;
	}
}

div.search_container {
	position: relative;
	float: left;
}
/* End user navigation */

div.footer {
	position: relative;
	min-width: 950px;
	width: 90%;
	
	margin: 1em auto auto auto;
	
	border-top: @preferred_gray solid 1px;

	h2 {
		.text-style-small(@secondary_font);
		display: inline;
		color: gray;
	}
}

div.section_grid_container {
	position: relative;
	
	div.left_nav {
		cursor: pointer;
		.noblock;
		
		position: absolute;
		left: 0px;
		bottom: 150px;
		
		width: 32px;
		height: 32px;
		background-image: url("/static/icons/left-32.png");
		margin-right: 1em;
	}
	
	div.right_nav {
		cursor: pointer;
		.noblock;
		
		position: absolute;
		right: 0px;
		bottom: 150px;
		
		width: 32px;
		height: 32px;	
		background-image: url("/static/icons/right-32.png");
		margin-left: 1em;	
	}
	
	div.section_grid {
		position: relative;
		overflow: hidden;
		
		float: center;
		
		margin: auto;
		margin-top: 1em;
		
		width: 90%;
		height: 80%;
	
		/*border: @preferred_gray dotted 1px;*/
	}
	
	div.section_overflow_grid {
		position: relative;
		overflow: hidden;
		
		float: center;
		
		margin: auto;
		margin-top: 1em;
		
		width: 200%;
		height: 80%;	
	}
	
	div.section_data {
		position: relative;
		
		display: inline-block;
		
		left: 0px;
		
		width: @data_width;
		height: @data_height;
		
		margin: 5px 15px 5px 15px;
		
		.box-shadow(2px, 2px, 2px, black);	
		
		img {
			width: @data_width;
			height: @data_height;
		}
	}
}
